package DAITINGTING.animal;

public class Test {
    public static void main(String[] args) {
        Bears b = new Bears("北极熊", "鱼", "北极", "冬眠");
        System.out.println(b.GetInfo());
        b.wholeLife();
        Frog f=new Frog("青蛙","虫子","水域","两栖");
        System.out.println(f.GetInfo());
        f.wholeLife();
    }
}
